package com.pandora.model;

import java.util.Vector;

public abstract class BuildingBlock {

	private String name;
	private String description;
	
	private ParameterTable<?> inParameters;
	private ParameterTable<?> outParameters;
	//private Condition condition
	private Vector<BuildingBlock> dependencies;
	
	public BuildingBlock(String name) {
		this(name,null);
	}
	
	public BuildingBlock(String name, String description) {
		this.name = name;
		this.description = description;
	}
	
	public ParameterTable<?> getInParameters() {
		return inParameters;
	}
	public void setInParameters(ParameterTable<?> parameters) {
		this.inParameters = parameters;
	}
	
	public ParameterTable<?> getOutParameters() {
		return outParameters;
	}
	public void setOutParameters(ParameterTable<?> parameters) {
		this.outParameters = parameters;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Vector<BuildingBlock> getDependencies() {
		return dependencies;
	}
	public void setDependencies(Vector<BuildingBlock> dependencies) {
		this.dependencies = dependencies;
	}
	
	
}
